package com.game.id;


import com.dats.entity.CacheBean;
import com.dats.hot.HotSwapI;

/**
 * @author sig
 * @since 2016/9/26
 */
public interface IdI extends HotSwapI {
    <T extends CacheBean> long newId(T t);

    <T extends CacheBean> long newId(Class<T> clazz);
}
